import request from "@/util/request.js"

export function listWorkOrder(param) {
	return request({
		url: '/erp/work/order/list',
		method: 'post',
		data: param
	})
}

export function pageGetWorkOrder(param) {
	return request({
		url: '/erp/work/order/pageGet',
		method: 'post',
		data: param
	})
}

export function deleteWorkOrder(param) {
	return request({
		url: '/erp/work/order/delete',
		method: 'post',
		data: param
	})
}

export function updateWorkOrder(param) {
	return request({
		url: '/erp/work/order/update',
		method: 'post',
		data: param
	})
}

export function insertWorkOrder(param) {
	return request({
		url: '/erp/work/order/insert',
		method: 'post',
		data: param
	})
}

export function getWorkOrder(param) {
	return request({
		url: '/erp/work/order/get',
		method: 'post',
		data: param
	})
}
